<div class="page-content">
	<section v-if="showType==1">
	<div class="weui_cells_title">商户信息</div>
	  <div class="weui_cells">
	  			   <div style="text-align: center;"><img style="    width: 70px;padding: 10px;" :src="storeData.logo"></div>	
	  			
	  				 <div class="weui_cell">
                        <div class="weui_cell_bd weui_cell_primary">
                            <p>{{MerchantName}}</p>
                        </div>
                        <div class="weui_cell_ft">
                            商户名
                        </div>
                         
                    </div>

                    <div class="weui_cell" v-if="merchantInfo.BussAuthNum">
                        <div class="weui_cell_bd weui_cell_primary">
                            <p>{{merchantInfo.BussAuthNum}}</p>
                        </div>
                        <div class="weui_cell_ft">
                            营业执照号
                        </div>
                         
                    </div>

                    <div class="weui_cell">
                        <div class="weui_cell_bd weui_cell_primary">
                            <p>{{merchantInfo.Alias}}</p>
                        </div>
                        <div class="weui_cell_ft">
                            简称
                        </div>
                         
                    </div>

                     <div class="weui_cell">
                        <div class="weui_cell_bd weui_cell_primary">
                            <p>{{merchantInfo.ContactName}}</p>
                        </div>
                        <div class="weui_cell_ft">
                            联系人
                        </div>
                         
                    </div>

                     <div class="weui_cell">
                        <div class="weui_cell_bd weui_cell_primary">
                            <p>{{merchantInfo.ContactMobile}}</p>
                        </div>
                        <div class="weui_cell_ft">
                            联系电话
                        </div>
                         
                    </div>

                   

                     
                </div>

                 <div class="weui_opr_area" >
			        <p class="weui_btn_area">
			            <a v-on:click="showType=2" class="weui_btn  btn2">修改商户信息</a>
			            
			        </p>
			    </div>

    </section>
    <form id="InfoForm" :style="showType==1?'display: none;':''"   >
      	<div class="weui_cells_title">商户基本信息</div>
		   	 <div class="list-li">

 				  <div class="weui_cell">
		                <div class="weui_cell_hd"><label style="width: 76px;" class="weui_label">logo</label></div>
		                <div class="weui_cell_bd weui_cell_primary">
		                      <textarea name="imgs"  style="display:none">{{logoString}}</textarea>
		         			  <div class="" id="storeLogo" for="logo" name="storeLogo" :data-image="storeData.logo"   upload="1"></div>
		                     <input type="hidden" name="store_id" :value="storeData.store_id">
		                    <input type="hidden" name="logo" :value="storeData.logo">
		                </div>
		            </div>

			         <div class="li"  >
	            	<div class="li-input-text">商户简称</div>
		            <div class="li-input">
		              <input  maxlength="20" placeholder='请输入商户简称'  :value="merchantInfo.Alias"  name='Alias'></input>
		            </div>
		            <div class="clear"></div>
	         	 </div> 

	         	   

	         	   <div class="li"  >
	            	<div class="li-input-text">省市区</div>
		            <div class="li-input">
		             <!--  <select  id="province_name"  class=" fl province form-control" style="width:33%;"  name="Province" >
								<option value="">请选择</option>
							</select>
							<select  id="city_name" class=" fl city form-control" style="width:33%;" name="City">
								<option value="">请选择</option>
							</select>
							<select id="county_name" class=" fl county form-control" style="width:33%;" name="District">
								<option value="">请选择</option>
							</select>
							<input type="hidden" class="hide-value" name="DestinationAreaHideCode"   :value="merchantInfo.District"   /> -->
							<input type="text" name="DestinationArea" id="DestinationArea" :value="merchantInfo.areaNames"  >
							<input type="hidden"  name="Province"  id="Province" :value="merchantInfo.Province">
							<input type="hidden" name="City" id="City" :value="merchantInfo.City">
							<input type="hidden" name="District"  id="District"  :value="merchantInfo.District">
							 
		            </div>
		            <div class="clear"></div>
	         	 </div> 
	         	   <div class="li"  >
	            	<div class="li-input-text">详细地址</div>
		            <div class="li-input">
		              <input  maxlength="120" placeholder='请输入详细地址'   :value="merchantInfo.Address"   name='Address'></input>
		            </div>
		            <div class="clear"></div>
	         	 </div> 

	         	 <div class="li"  >
	            	<div class="li-input-text">联系人</div>
		            <div class="li-input">
		            	  
		              <input  maxlength="11"  placeholder='请输入联系人'  :value="merchantInfo.ContactName"   name='ContactName'></input>
		            </div>
		            <div class="clear"></div>
	         	 </div> 

	         	 <div class="li"  >
	            	<div class="li-input-text">客服电话</div>
		            <div class="li-input">
		            	   <input type="hidden" name="MerchantId" :value="MerchantId">
		              <input  maxlength="11"  placeholder='请输入客服电话'  :value="merchantInfo.ContactMobile"   name='ContactMobile'></input>
		            </div>
		            <div class="clear"></div>
	         	 </div> 
		 
			   </div>
			    <div class="weui_opr_area" >
			        <p class="weui_btn_area">
			            <a @click="updateMerchantInfo"  class="weui_btn  btn2">保存</a>
			        </p>
			         <p class="weui_btn_area">
			            <a @click="showType=1"  class="weui_btn weui_btn_plain_default">取消</a>
			        </p>
			    </div>     
      </form>
</div>